package com.biz.primus.model.payment.vo.resp;

import com.biz.primus.model.payment.enums.PaymentTradeType;
import com.biz.primus.model.payment.enums.PaymentType;
import java.io.Serializable;
import lombok.Data;

/**
 * Created by defei on 9/25/17.
 */
@Data
public class PaymentChannelQueryResVo implements Serializable {

    private static final long serialVersionUID = 8947908232320541491L;

    private PaymentType paymentType;

    private PaymentTradeType paymentTradeType;

    public String getName(){

        return paymentType.getDesc();
    }

    public String getDescription(){

        return paymentTradeType.getDesc();
    }

    public PaymentChannelQueryResVo() {
    }

    public PaymentChannelQueryResVo(PaymentType paymentType, PaymentTradeType paymentTradeType) {
        this.paymentType = paymentType;
        this.paymentTradeType = paymentTradeType;
    }
}
